package cn.gson.springboot.model.mapper;

import java.sql.Time;
import java.sql.Timestamp;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import com.alibaba.fastjson.JSONArray;

@Mapper
public interface OperationMapper {

	//查询该科室下的手术项目
	public JSONArray findOps();
	
	//手术安排记录
	public JSONArray findAllOps();
	
	//手术时间
	public JSONArray findByDate(@Param("startTime")String startTime,
			@Param("endTime")String endTime,@Param("tid")Integer tid);
	
	//查询所有手术室 
	public JSONArray  findAllTheater();
	
}
